package com.fub.guidance;

import java.util.List;

public class Relation {
	public static final String BUILDING_WALL_RELATION_NAME ="outerwall";
	public static final String COURT_RELATION_NAME ="court";
	public static final String INTERIOR_RELATION_NAME ="inroom";
	private String id;
	private String buildingID;
	private String type;
	private List<String> nodes;

	/**
	 * Returns the building id of this relation.
	 * 
	 * @return the building id of this relation
	 */
	public String getBuildingID() {
		return this.buildingID;
	}

	/**
	 * Sets the building id of this relation.
	 * 
	 * @param buildingID
	 *            the new building id
	 */
	public void setBuildingID(String buildingID) {
		this.buildingID = buildingID;
	}

	/**
	 * Returns the id of this relation.
	 * 
	 * @return the id of this relation
	 */
	public String getId() {
		return this.id;
	}

	/**
	 * Sets the id of this relation.
	 * 
	 * @param id
	 *            the new id
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * Returns the type of this relation.
	 * 
	 * @return the type of this relation
	 */
	public String getType() {
		return this.type;
	}

	/**
	 * Sets the type of this relation.
	 * 
	 * @param type
	 *            the new type
	 */

	public void setType(String type) {
		this.type = type;
	}

	/**
	 * Returns the nodes of this relation.
	 * 
	 * @return the nodes of this relation
	 */
	public List<String> getNodes() {
		return this.nodes;
	}

	/**
	 * Sets the nodes of this relation.
	 * 
	 * @param nodes
	 *            the nodes of this relation
	 */
	public void setNodes(List<String> nodes) {
		this.nodes = nodes;
	}
}
